package com.sojson.serversocket.util.enums;

/**
 * ServerSocket电表模式枚举类
 * 
 * @author liu
 * @date 2021-04-12
 */
public enum EServerSocketFuncType {

    /** 多费率 */
    MULTI_RATE("多费率", "00");

    /** 功能名称 */
    private final String name;
    /** 功能代码 */
    private final String code;

    EServerSocketFuncType(String name, String code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }

}